home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / tip / ts-chhe.tip < prev    next >
Text File  |  1993-09-15  |  1KB  |  49 lines

  1. % This macro source file is from the four volume series
  2. % "TeX in Practice" by Stephan von Bechtolsheim, published
  3. % 1993 by Springer-Verlag, New York.
  4. % Copyright 1993 Stephan von Bechtolsheim.
  5. % No warranty or liability is assumed.
  6. % This macro may be copied freely if no fees other than
  7. % media cost or shipping charges are charged and as long
  8. % as this copyright and the following source code itself
  9. % is not changed. Please see the series for further information.
  10. %
  11. % Version: 1.0
  12. % Date: May 1, 1993
  13. %
  14. %
  15. % This source code is documented in 8.4, p. I-300.
  16. % Original source in file "vboxes2.TEX", starting line 1294.
  17. \wlog{L: "ts-chhe.tip" ["vboxes2.TEX," l. 1294, p. I-300]}%
  18. % This file DOES belong to format "texip."
  19. \InputD{parin.tip}
  20. \InputD{shboxes.tip}
  21. \InputD{alwbase.tip}
  22. \def\ChapterHeadingTeXIP #1#2{%
  23.     \setbox 1 = 
  24.     \vbox to 13pc{
  25.         \hyphenpenalty = 10000
  26.         \parindent = 0pt
  27.         \huge
  28.         \bf
  29.         \baselineskip = 21pt
  30.         \AlwaysBaselineskip
  31.         \setbox 0 = \hbox{#1}%
  32.         \copy0
  33.         \parskip = 3pc
  34.         \advance\parskip by -\dp0
  35.         \advance\parskip by -\ht0
  36.         \advance\parskip by -\baselineskip
  37.         \wlog{\string\ChapterHeadingTeXIP: computed value
  38.             of \noexpand\parskip is \the\parskip.}%
  39.         \spaceskip = 0.3333em
  40.         \xspaceskip = \spaceskip
  41.         \rightskip = 0pt plus 4em
  42.         #2
  43.         \par
  44.         \vfil
  45.     }
  46.     \box 1
  47.     \SuppressNextParIndent
  48. }
  49.